package com.liyingjie.spzx.manager.mapper;

import com.liyingjie.spzx.model.dto.system.SysUserDto;
import com.liyingjie.spzx.model.entity.system.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserMapper {


    SysUser selectByUserName(@Param("userName") String userName);

    List<SysUser> findByPage(SysUserDto sysUserDto);
    public abstract SysUser findByUserName(String name);
    public abstract void saveSysUser(SysUser sysUser);

    void updateSysUser(SysUser sysUser);

    void deleteById(Long userId);
}